x11: don't apply scaling factor twice
authorWilliam Hua <william.hua@canonical.com>
Tue, 2 Feb 2016 20:33:33 +0000 (15:33 -0500)
committerWilliam Hua <william.hua@canonical.com>
Thu, 4 Feb 2016 16:02:09 +0000 (11:02 -0500)
commit7b88e304c779ad23b7c2945cb42a0f8a20f9060e
treec8edf8aab5f6ee08892676a97007616e36627685
parent4a49d8d14fa8a3e037364eb231f25c2e8bce0fa5
x11: don't apply scaling factor twice

The fallback behaviour of get_work_area () divides the
screen width and height by the window scaling factor, but
those values are already scaled down.

https://bugzilla.gnome.org/show_bug.cgi?id=761474
gdk/x11/gdkscreen-x11.c